<?php
class ZdpsController extends AppController {

	var $name = 'Zdps';
	var $helpers = array('Html', 'Form');

	function index($chidoan) {
		$this->Zdp->recursive = 0;
		$this->set('zdps', $this->paginate());
        $this->set(compact('chidoan'));
	}
    
    //danh cho admin
    function taothang() {
		$this->Zdp->recursive = 0;
		$this->set('zdps', $this->paginate());
        //$this->set(compact('chidoan'));
	}


}
?>